-- GENERATED SPELL FOR [Talbuk Doe] --


function spell0_20610(pUnit, Event) --@Gore,n/a--
pUnit:FullCastSpellOnTarget(32019,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_20610', 15000, 1)
end

function Sorts_20610(pUnit, Event)
local choix_sorts_20610 = math.random(0, 0)
if choix_sorts_20610 == 0 then
pUnit:RegisterEvent('spell0_20610', 1, 1)
end
end

function mob20610_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_20610', math.random(1500, 3000), 1)
end

function mob20610_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20610_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20610_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(20610, 1, 'mob20610_Action')
RegisterUnitEvent(20610, 2, 'mob20610_Leave')
RegisterUnitEvent(20610, 3, 'mob20610_Kill')
RegisterUnitEvent(20610, 4, 'mob20610_Die')
